package org.lilred.nzbberry.config;

import net.rim.device.api.system.Display;

public class Resizer {
	public static int resize(int original) {
		return (int) ((1.0 * Display.getWidth() / 480) * original);
		/*if (Display.getWidth() < 480) return original * 3 / 4;
		else if (Display.getWidth() < 360) return original * 2 / 3;
		else return original;*/
	}
}
